ok

public void ok(String text)

Notifies the browser that the JavaScript prompt dialog should be closed with the given text as a response.